package com.itheima.mp.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum UserStatus {
    NORMAL(1, "正常"),
    FREEZE(2, "正常");

    @EnumValue
    private final int value;
    private final String desc;
    UserStatus(int value, String desc){
        this.value = value;
        this.desc = desc;
    }
}
